<!DOCTYPE html>
<html>
<meta http-equiv="X-UA-Compatible" content="IE=7">
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<head>
    <title>f0012</title>
    <!--引入样式和JS-->
    <link rel="stylesheet" href="/static/Skins_/css/blue/reset.css" type="text/css" />
    <link rel="stylesheet" href="/static/Skins_/css/blue/global.css" type="text/css" />
    <link rel="stylesheet" href="/static/Skins/default/css/table.css" type="text/css" />
    <script src="/static/loadjs1.js"></script>
    <!--tableEx需要引入-->
    <link rel="stylesheet" href="/static/Skins_/tableEx/images/tableEx.css"/>
    <script type="text/javascript" src="/static/Skins_/tableEx/js/lhgdialog/lhgdialog.min.js?s=facebook"></script>
    <script type="text/javascript" src="/static/Skins_/tableEx/js/tableEx.js"></script>
    <!--引入结束-->
    <script>
	//-------------定义基础参数信息----------------------------------------
	var basearg={};
    basearg.r=getRnd();
    basearg.ajaxurl="/f00/f0012/ajax";
	//根据实际情况补充其他查询参数
	basearg.bankno="${i.bankno}";
	basearg.bankname="${i.bankname}";
	//-------------参数定义完成----------------------------------------
	//增加
	function doadd(){var v=showModal("/f00/f0012/list?act=update",800,480);if (v.status){v.act="add";v.r=getRnd();blockui("保存数据...");$.post("/f00/f0012/ajax",v,function(data){$.unblockUI();gopage(${i.pageindex});showOkMsg("操作成功！");},"json");}}
	//编辑
        function doedit(id){var v=showModal("/f00/f0012/list?act=update&id="+id+"&r="+getRnd(),800,480);if(v.status){v.act="edit";v.r=getRnd();blockui("保存数据...");$.post("/f00/f0012/ajax",v,function(data){$.unblockUI();gopage(${i.pageindex});showOkMsg("操作成功！");},"json");}}
	//删除
        function dodel(id){if(confirm("确认删除?")){var v={};v.act="del";v.id=id;v.r=getRnd();$.post("/f00/f0012/ajax",v,function(data){$.unblockUI();gopage(${i.pageindex});showOkMsg("操作成功！");},"json");}}
	//导入
        function doimport(){var v=showModal("/f00/f0012/import?r="+getRnd(),640,320);gopage(${i.pageindex});}
	//导出
        function doexport(){var v=basearg;v.act="export";$.post("/f00/f0012/export",v,function(data){location.href=data.result;},"json");}
    //失效
        function dooff(id){
            var v=basearg;
            v.act="off";
            v.id=id;
            v.r=getRnd();
            blockui("操作中....");
            $.post(
                    basearg.ajaxurl,
                    v,
                    function(data){
                        if(data.result=="OK"){
                            $.unblockUI();
                            showOkMsg("操作成功");
                            gopage(${i.pageindex});
                        }
                    },"json"
            );
        }
     //生效
        function doon(id){
            var v=basearg;
            v.act="on";
            v.id=id;
            v.r=getRnd();
            blockui("操作中....");
            $.post(
                    basearg.ajaxurl,
                    v,
                    function(data){
                        if(data.result=="OK"){
                            $.unblockUI();
                            showOkMsg("操作成功");
                            gopage(${i.pageindex});
                        }
                    },"json"
            );
        }
	//-------------函数定义完成----------------------------------------
    </script>
</head>
<body>
<div class="crumbs">
	<a href="">系统</a><a href="">银行信息</a><span>列表</span>
	<div class="mininav"><a href="/static/welcome.html" rel1="tips_n" original-title="首页"><b class="icons ihome"></b></a><a href="javascript:;" onclick="showModal('/static/hlp/f00/f0012.html',600,360)" rel1="tips_n" original-title="帮助"><b class="icons ihelp"></b></a><a href="javascript:;" onclick="showModal('/f00/feedback?funno=f0012',800,480)" rel1="tips_n" original-title="反馈"><b class="icons ibug"></b></a></div>
</div>
<form action="/f00/f0012/list" method="post" id="form1">
    <input type="hidden" name="act" value="search" id="act"/>
    <div class="tool_table notab">
        <div class="button"><a href="#" id="add" class="button_gray button_icon_search"><b></b>查询</a></div>
        <div class="button"><a href="#" onclick="doadd()" class="button_gray"><b class="icons iadd"></b>增加</a></div>
    </div>
    <%include file="TT/f0012_query.html"/>
    <!--从根T目录引入公用的分页数据显示代码段-->
    <%include file="/T/Pager.html"/>
    </form>
</body>
</html>